package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author qwer
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_config")
public class Config implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商城名
     */
    private String mallName;

    /**
     * 商城电话
     */
    private String mallPhone;

    /**
     * 经度
     */
    private Double lng;

    /**
     * 纬度
     */
    private Double lat;

    /**
     * 邮箱有效时间 单位天
     */
    private Integer emailEffectiveTime;

    /**
     * 短信有效时间  单位秒
     */
    private Integer messageEffectiveTime;

    /**
     * 运费
     */
    private Integer freightCost;

    /**
     * 达到多少可以免运费
     */
    private Integer freightFree;

    /**
     * 用户下单后多久超时 单位分钟
     */
    private Integer memberOvertime;

    /**
     * 下单后发货时限
     */
    private Integer memberOrderOvertime;

    /**
     * 订单发货后多久超期限  单位天
     */
    private Integer orderSendOvertime;

    /**
     * 订单收货后多久超期限  单位天
     */
    private Integer orderReceivedOvertime;

    private Date updateTime;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String area;

    /**
     * 详细地址
     */
    private String address;

    private String qq;

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMallName() {
        return mallName;
    }

    public void setMallName(String mallName) {
        this.mallName = mallName;
    }

    public String getMallPhone() {
        return mallPhone;
    }

    public void setMallPhone(String mallPhone) {
        this.mallPhone = mallPhone;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Integer getEmailEffectiveTime() {
        return emailEffectiveTime;
    }

    public void setEmailEffectiveTime(Integer emailEffectiveTime) {
        this.emailEffectiveTime = emailEffectiveTime;
    }

    public Integer getMessageEffectiveTime() {
        return messageEffectiveTime;
    }

    public void setMessageEffectiveTime(Integer messageEffectiveTime) {
        this.messageEffectiveTime = messageEffectiveTime;
    }

    public Integer getFreightCost() {
        return freightCost;
    }

    public void setFreightCost(Integer freightCost) {
        this.freightCost = freightCost;
    }

    public Integer getFreightFree() {
        return freightFree;
    }

    public void setFreightFree(Integer freightFree) {
        this.freightFree = freightFree;
    }

    public Integer getMemberOvertime() {
        return memberOvertime;
    }

    public void setMemberOvertime(Integer memberOvertime) {
        this.memberOvertime = memberOvertime;
    }

    public Integer getOrderSendOvertime() {
        return orderSendOvertime;
    }

    public void setOrderSendOvertime(Integer orderSendOvertime) {
        this.orderSendOvertime = orderSendOvertime;
    }

    public Integer getOrderReceivedOvertime() {
        return orderReceivedOvertime;
    }

    public void setOrderReceivedOvertime(Integer orderReceivedOvertime) {
        this.orderReceivedOvertime = orderReceivedOvertime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getMemberOrderOvertime() {
        return memberOrderOvertime;
    }

    public void setMemberOrderOvertime(Integer memberOrderOvertime) {
        this.memberOrderOvertime = memberOrderOvertime;
    }
}
